package com.connor.kh.plm.checkdrawing;

import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.aif.common.actions.AbstractAIFAction;

public class CheckAction extends AbstractAIFAction {

	private AbstractAIFUIApplication app;
	private String commandId;

	public CheckAction(AbstractAIFUIApplication app, String commandId) {
		super(app, commandId);
		this.app = app;
		this.commandId = commandId;
	}

	@Override
	public void run() {
		try {
			new CheckCommand(app, commandId).executeModal();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
